package com.example.jdbcdemo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//完成商品类的设计
@Data
@AllArgsConstructor//有参
@NoArgsConstructor//无参
public class Product {
    //id
    //商品名称
    //类型：1、批发 2、零售
    //价格 (价格为float)
    private int id;
    private String name;
    private double wholeSale;
    private double singleSale;
    private double cost;
}
